package com.softwareinlife.android.ux;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;

public class StandAlone extends Activity implements OnTouchListener
{
	
	public Float x1;
	public Float y1;
	
	@Override
    public void onCreate(Bundle savedInstanceState) 
    {
    	
    	
        super.onCreate(savedInstanceState);
        setContentView(R.layout.standalone);
    }
	
	@Override
	public boolean onTouchEvent(MotionEvent event) 
	{
	    	
		x1 = event.getX();//����� �� x�� ���Ͷ�~
		
		y1 = event.getY();//����� �� y�� ���Ͷ�~��������
			switch (event.getAction())
	        {
				case MotionEvent.ACTION_DOWN:
					
					
					if( x1 >= 235 && x1<= 265 && y1 >= 390 && y1 <= 410)
					{
						Intent intent1 = new Intent(this, Account.class);
						
						startActivity(intent1);
					}
				break;
	        }
	    	
	    	return true;
	}
	
	
	
	@Override//��ġ �̺�Ʈ �ۼ��ϸ� �ڵ����� ���� ��? �ƴ� ����;;
	public boolean onTouch(View v, MotionEvent event) {
		// TODO Auto-generated method stub
		return false;}
	
	
	
}